Update rpm-systems.md to include linking the sensor under the orb user - #113
Open
velosol wants to merge 1 commit into
Open
Update rpm-systems.md to include linking the sensor under the orb user#113velosol wants to merge 1 commit into
velosol wants to merge 1 commit into
Conversation
If you go to link the sensor to an Orb account you need to do it under the orb user, not the currently logged in user who isn't going to be the user context when systemd starts the sensor.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If you go to link the sensor to an Orb account you need to do it under the orb user, not the currently logged in user who isn't going to be the user context when systemd starts the sensor.
Pull Request
What changes have you made?
Added a section for RPM-based distros showing how to properly link the systemd-run sensor to your Orb account.
Why are these changes helpful?
If someone naively runs
orb linkafter installing the sensor the link info will be stored under that user, not theorbuser that systemd uses to run the sensor at boot. This leads to a weird situation where the sensor shows online if the logged in user that did the linking runsorb sensorbut not with the systemd-runorb sensor.Related issues or considerations
May be useful in other Linux distro pages or as part of the overarching Linux setup page but I don't have other systems to test at the moment so will leave that choice up to maintainers (and happy to put this on another or other pages as desired).
Checklist
Additional notes
Thank you to Wayne who ID'ed what I had done wrong and clearly explained what I needed to do to fix it. Figured it would be better in the docs as that's the first place I went before reaching out to support.
Please wait for feedback from the maintainers before merging.